package com.suning.sawp.vo.model;

import java.io.Serializable;
import java.util.List;

/**
 * 
 * 〈一句话功能简述〉样机有效性响应<br>
 * 〈功能详细描述〉
 *
 * @author 17033093
 * @see [相关类/方法]（可选）
 * @since [产品/模块版本] （可选）
 */
public class ModelValidAreaResponse implements Serializable {

    private static final long serialVersionUID = 1279054505211960014L;

    /**
     * 集合
     */
    private List<ModelValidAreaVo> list;

    /**
     * 总条数据
     */
    private int totalSize;

    /**
     * 总部为1，大区为2，分公司为3
     */
    private String level;

    /**
     * 当前登录人所属层级编码<br>
     * 总部账号为空；大区账号为大区编码；分公司账号为分公司编码
     */
    private String levelCode;

    public List<ModelValidAreaVo> getList() {
        return list;
    }

    public void setList(List<ModelValidAreaVo> list) {
        this.list = list;
    }

    public int getTotalSize() {
        return totalSize;
    }

    public void setTotalSize(int totalSize) {
        this.totalSize = totalSize;
    }

    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    public String getLevelCode() {
        return levelCode;
    }

    public void setLevelCode(String levelCode) {
        this.levelCode = levelCode;
    }

    @Override
    public String toString() {
        StringBuilder builder = new StringBuilder();
        builder.append("ModelValidAreaResponse [list=");
        builder.append(list);
        builder.append(", totalSize=");
        builder.append(totalSize);
        builder.append(", level=");
        builder.append(level);
        builder.append(", levelCode=");
        builder.append(levelCode);
        builder.append("]");
        return builder.toString();
    }

}
